#include "gpio.h"

typedef  enum  {
	RED_LED = 0,
	GREEN_LED = 1,
}LED_TYPE;

typedef struct {

	 void (*on)(LED_TYPE type );
	 void (*off)(LED_TYPE type);
	 void (*blink)(LED_TYPE type,uint32_ millisecond,uint32_t times);
	 void (*breathing)(LED_TYPE type, uint32_t millisecond,uint32_t times);
}LED;

extern LED led;